home *** CD-ROM | disk | FTP | other *** search
/ Sound Blastoff / Sound Blastoff.iso / Sound Utilities / QuickChords™ 0.5b ƒ / QuickChords™ 0.5b / QuickChords™ 0.5b.rsrc / bin.rsrc_CODE_4.txt < prev    next >
Text File  |  1994-07-11  |  19KB  |  322 lines

  1. # near model CODE resource
  2. # jump table entries: 144-147 (4 of them)
  3. export_20:
  4. 00000000  41ED 10CA                lea.l      A0, [A5 + 0x10CA /* export_533 */]
  5. 00000004  2B48 F704                move.l     [A5 - 0x8FC], A0
  6. 00000008  41FA 0326                lea.l      A0, [PC + 0x326 /* 00000330, value 0x2A0002 */]
  7. 0000000C  43ED FD6A                lea.l      A1, [A5 - 0x296]
  8. 00000010  7024                     moveq.l    D0, 0x24
  9. 00000012  A02E                     syscall    BlockMove/BlockMoveData
  10. 00000014  203C 0000 FFFF           move.l     D0, 0xFFFF
  11. 0000001A  A032                     syscall    FlushEvents
  12. 0000001C  486D FA7E                pea.l      [A5 - 0x582]
  13. 00000020  A976                     syscall    GetKeys
  14. 00000022  302D FA84                move.w     D0, [A5 - 0x57C]
  15. 00000026  0800 0002                btst.b     D0, 0x2
  16. 0000002A  666E                     bne        +0x70 /* 0000009A */
  17. 0000002C  598F                     subq.l     A7, 4
  18. 0000002E  2F3C 5773 697A           move.l     -[A7], 0x5773697A /* 'Wsiz' */
  19. 00000034  3F3C 0001                move.w     -[A7], 0x1
  20. 00000038  A9A0                     syscall    GetResource
  21. 0000003A  201F                     move.l     D0, [A7]+
  22. 0000003C  675C                     beq        +0x5E /* 0000009A */
  23. 0000003E  2040                     movea.l    A0, D0
  24. 00000040  2450                     movea.l    A2, [A0]
  25. 00000042  204A                     movea.l    A0, A2
  26. 00000044  43ED FD6A                lea.l      A1, [A5 - 0x296]
  27. 00000048  7024                     moveq.l    D0, 0x24
  28. 0000004A  A02E                     syscall    BlockMove/BlockMoveData
  29. 0000004C  2449                     movea.l    A2, A1
  30. 0000004E  6128                     bsr        +0x2A /* 00000078 */
  31. 00000050  6608                     bne        +0xA /* 0000005A */
  32. 00000052  24FA 02DC                move.l     [A2]+, [PC + 0x2DC /* 00000330, value 0x2A0002 */]
  33. 00000056  24BA 02DC                move.l     [A2], [PC + 0x2DC /* 00000334, value 0x14E01F6 */]
  34. label0000005A:
  35. 0000005A  45ED FD72                lea.l      A2, [A5 - 0x28E]
  36. 0000005E  6118                     bsr        +0x1A /* 00000078 */
  37. 00000060  6608                     bne        +0xA /* 0000006A */
  38. 00000062  24FA 02D4                move.l     [A2]+, [PC + 0x2D4 /* 00000338, value 0x300002 */]
  39. 00000066  24BA 02D4                move.l     [A2], [PC + 0x2D4 /* 0000033C, value 0x14E01FC */]
  40. label0000006A:
  41. 0000006A  45ED FD8A                lea.l      A2, [A5 - 0x276]
  42. 0000006E  6108                     bsr        +0xA /* 00000078 */
  43. 00000070  6628                     bne        +0x2A /* 0000009A */
  44. 00000072  24BA 02DC                move.l     [A2], [PC + 0x2DC /* 00000350, value 0xF00032 */]
  45. 00000076  6022                     bra        +0x24 /* 0000009A */
  46. fn00000078:
  47. 00000078  4227                     clr.b      -[A7]
  48. 0000007A  2F12                     move.l     -[A7], [A2]
  49. 0000007C  5157                     subq.w     [A7], 8
  50. 0000007E  2F38 09EE                move.l     -[A7], [0x000009EE /* GrayRgn */]
  51. 00000082  A8E8                     syscall    PtInRgn
  52. 00000084  4A17                     tst.b      [A7]
  53. 00000086  670E                     beq        +0x10 /* 00000096 */
  54. 00000088  2F12                     move.l     -[A7], [A2]
  55. 0000008A  5057                     addq.w     [A7], 8
  56. 0000008C  506F 0002                addq.w     [A7 + 0x2], 8
  57. 00000090  2F38 09EE                move.l     -[A7], [0x000009EE /* GrayRgn */]
  58. 00000094  A8E8                     syscall    PtInRgn
  59. label00000096:
  60. 00000096  4A1F                     tst.b      [A7]+
  61. 00000098  4E75                     rts
  62. label0000009A:
  63. 0000009A  2B7C 0050 0050 FD0E      move.l     [A5 - 0x2F2], 0x500050 /* 'P\0P' */
  64. 000000A2  2B7C 4000 4000 FD12      move.l     [A5 - 0x2EE], 0x40004000 /* '@\0@\0' */
  65. 000000AA  2B7C 2E2C 2024 FDEA      move.l     [A5 - 0x216], 0x2E2C2024 /* '., $' */
  66. 000000B2  1B7C 00FF F59F           move.b     [A5 - 0xA61], 0xFF
  67. 000000B8  3B78 0A5A FD32           move.w     [A5 - 0x2CE], [0x00000A5A /* CurMap */]
  68. 000000BE  4EBA 00F2                jsr        [PC + 0xF2 /* 000001B2 */]
  69. 000000C2  598F                     subq.l     A7, 4
  70. 000000C4  42A7                     clr.l      -[A7]
  71. 000000C6  486D FD6A                pea.l      [A5 - 0x296]
  72. 000000CA  487A 0252                pea.l      [PC + 0x252 /* 0000031E, value 0x7465554 */]
  73. 000000CE  4267                     clr.w      -[A7]
  74. 000000D0  4267                     clr.w      -[A7]
  75. 000000D2  3038 028E                move.w     D0, [0x0000028E /* ROM85 */]
  76. 000000D6  6B04                     bmi        +0x6 /* 000000DC */
  77. 000000D8  3EBC 0008                move.w     [A7], 0x8
  78. label000000DC:
  79. 000000DC  2F3C FFFF FFFF           move.l     -[A7], 0xFFFFFFFF
  80. 000000E2  4267                     clr.w      -[A7]
  81. 000000E4  42A7                     clr.l      -[A7]
  82. 000000E6  0240 C000                andi.w     D0, 0xC000
  83. 000000EA  6604                     bne        +0x6 /* 000000F0 */
  84. 000000EC  AA45                     syscall    NewCWindow
  85. 000000EE  6002                     bra        +0x4 /* 000000F2 */
  86. label000000F0:
  87. 000000F0  A913                     syscall    NewWindow
  88. label000000F2:
  89. 000000F2  2B57 F774                move.l     [A5 - 0x88C], [A7]
  90. 000000F6  A873                     syscall    SetPort
  91. 000000F8  206D F774                movea.l    A0, [A5 - 0x88C]
  92. 000000FC  2B48 F62E                move.l     [A5 - 0x9D2], A0
  93. 00000100  302D FD82                move.w     D0, [A5 - 0x27E]
  94. 00000104  3140 0044                move.w     [A0 + 0x44], D0
  95. 00000108  3B40 F66A                move.w     [A5 - 0x996], D0
  96. 0000010C  302D FD84                move.w     D0, [A5 - 0x27C]
  97. 00000110  3140 004A                move.w     [A0 + 0x4A], D0
  98. 00000114  3B40 F668                move.w     [A5 - 0x998], D0
  99. 00000118  3B6D FD86 F66E           move.w     [A5 - 0x992], [A5 - 0x27A]
  100. 0000011E  486D F660                pea.l      [A5 - 0x9A0]
  101. 00000122  A88B                     syscall    GetFontInfo
  102. 00000124  206D FFFC                movea.l    A0, [A5 - 0x4]
  103. 00000128  2B68 0010 F678           move.l     [A5 - 0x988], [A0 + 0x10]
  104. 0000012E  2B68 0014 F67C           move.l     [A5 - 0x984], [A0 + 0x14]
  105. 00000134  04AD 000F 000F F67C      subi.l     [A5 - 0x984], 0xF000F
  106. 0000013C  486D F678                pea.l      [A5 - 0x988]
  107. 00000140  A87B                     syscall    ClipRect
  108. 00000142  3F3C 0002                move.w     -[A7], 0x2
  109. 00000146  3F2D F668                move.w     -[A7], [A5 - 0x998]
  110. 0000014A  A893                     syscall    MoveTo
  111. 0000014C  598F                     subq.l     A7, 4
  112. 0000014E  A8D8                     syscall    NewRgn
  113. 00000150  2B5F F680                move.l     [A5 - 0x980], [A7]+
  114. 00000154  203C 0000 1000           move.l     D0, 0x1000
  115. 0000015A  A31E                     syscall    NewPtrClear, flags=3
  116. 0000015C  661C                     bne        +0x1E /* 0000017A */
  117. 0000015E  41E8 0400                lea.l      A0, [A0 + 0x400]
  118. 00000162  2B48 F744                move.l     [A5 - 0x8BC], A0
  119. 00000166  598F                     subq.l     A7, 4
  120. 00000168  2F3C 414E 4459           move.l     -[A7], 0x414E4459 /* 'ANDY' */
  121. 0000016E  487A 01B6                pea.l      [PC + 0x1B6 /* 00000326, value 0x7476172, pstring "Gariepy" */]
  122. 00000172  A9A1                     syscall    GetNamedResource
  123. 00000174  2B5F F684                move.l     [A5 - 0x97C], [A7]+
  124. 00000178  6604                     bne        +0x6 /* 0000017E */
  125. label0000017A:
  126. 0000017A  7019                     moveq.l    D0, 0x19
  127. 0000017C  A9C9                     syscall    SysError
  128. export_19:
  129. label0000017E:
  130. 0000017E  206D F684                movea.l    A0, [A5 - 0x97C]
  131. 00000182  A029                     syscall    HLock
  132. 00000184  206D F684                movea.l    A0, [A5 - 0x97C]
  133. 00000188  2050                     movea.l    A0, [A0]
  134. 0000018A  7207                     moveq.l    D1, 0x07
  135. 0000018C  43ED FDA2                lea.l      A1, [A5 - 0x25E]
  136. label00000190:
  137. 00000190  22D8                     move.l     [A1]+, [A0]+
  138. 00000192  51C9 FFFC                dbf        D1, -0x6 /* 00000190 */
  139. 00000196  7209                     moveq.l    D1, 0x09
  140. 00000198  7000                     moveq.l    D0, 0x00
  141. 0000019A  7400                     moveq.l    D2, 0x00
  142. 0000019C  342D FDA2                move.w     D2, [A5 - 0x25E]
  143. 000001A0  5A82                     addq.l     D2, 5
  144. 000001A2  5882                     addq.l     D2, 4
  145. label000001A4:
  146. 000001A4  4870 0800                pea.l      [A0 + D0]
  147. 000001A8  22DF                     move.l     [A1]+, [A7]+
  148. 000001AA  D082                     add.l      D0, D2
  149. 000001AC  51C9 FFF6                dbf        D1, -0xC /* 000001A4 */
  150. 000001B0  4E75                     rts
  151. fn000001B2:
  152. 000001B2  42AD F770                clr.l      [A5 - 0x890]
  153. 000001B6  51ED FD24                sf         [A5 - 0x2DC]
  154. 000001BA  7078                     moveq.l    D0, 0x78
  155. 000001BC  A322                     syscall    NewHandleClear, flags=3
  156. 000001BE  2B48 F76C                move.l     [A5 - 0x894], A0
  157. 000001C2  2F3C C800 0000           move.l     -[A7], 0xC8000000
  158. 000001C8  A8FD                     syscall    PrGlue
  159. 000001CA  4267                     clr.w      -[A7]
  160. 000001CC  2F3C BA00 0000           move.l     -[A7], 0xBA000000
  161. 000001D2  A8FD                     syscall    PrGlue
  162. 000001D4  301F                     move.w     D0, [A7]+
  163. 000001D6  6614                     bne        +0x16 /* 000001EC */
  164. 000001D8  2F2D F76C                move.l     -[A7], [A5 - 0x894]
  165. 000001DC  2F3C 2004 0480           move.l     -[A7], 0x20040480
  166. 000001E2  A8FD                     syscall    PrGlue
  167. 000001E4  2F3C D000 0000           move.l     -[A7], 0xD0000000
  168. 000001EA  A8FD                     syscall    PrGlue
  169. label000001EC:
  170. 000001EC  4E75                     rts
  171. export_21:
  172. 000001EE  426D F4AE                clr.w      [A5 - 0xB52]
  173. 000001F2  422D F738                clr.b      [A5 - 0x8C8]
  174. 000001F6  42AD F69C                clr.l      [A5 - 0x964]
  175. 000001FA  426D F6A8                clr.w      [A5 - 0x958]
  176. 000001FE  42AD F4B0                clr.l      [A5 - 0xB50]
  177. 00000202  422D F64B                clr.b      [A5 - 0x9B5]
  178. 00000206  422D F537                clr.b      [A5 - 0xAC9]
  179. 0000020A  422D FD25                clr.b      [A5 - 0x2DB]
  180. 0000020E  422D F5A1                clr.b      [A5 - 0xA5F]
  181. 00000212  3B7C 0001 F66C           move.w     [A5 - 0x994], 0x1
  182. 00000218  3B7C 0001 F5DE           move.w     [A5 - 0xA22], 0x1
  183. 0000021E  426D F66E                clr.w      [A5 - 0x992]
  184. 00000222  3B7C 0004 F66A           move.w     [A5 - 0x996], 0x4
  185. 00000228  7009                     moveq.l    D0, 0x09
  186. 0000022A  3B40 F668                move.w     [A5 - 0x998], D0
  187. 0000022E  41ED F4D4                lea.l      A0, [A5 - 0xB2C]
  188. label00000232:
  189. 00000232  4298                     clr.l      [A0]+
  190. 00000234  51C8 FFFC                dbf        D0, -0x6 /* 00000232 */
  191. 00000238  422D F535                clr.b      [A5 - 0xACB]
  192. 0000023C  426D F87E                clr.w      [A5 - 0x782]
  193. 00000240  42AD F566                clr.l      [A5 - 0xA9A]
  194. 00000244  2B7C 0300 0400 F56A      move.l     [A5 - 0xA96], 0x3000400
  195. 0000024C  50ED F538                st         [A5 - 0xAC8]
  196. 00000250  08AD 0001 F5F4           bclr.b     [A5 - 0xA0C], 0x1
  197. 00000256  1B7C 00FF FD27           move.b     [A5 - 0x2D9], 0xFF
  198. 0000025C  422D FD26                clr.b      [A5 - 0x2DA]
  199. 00000260  42AD F562                clr.l      [A5 - 0xA9E]
  200. 00000264  422D FD22                clr.b      [A5 - 0x2DE]
  201. 00000268  422D FDEE                clr.b      [A5 - 0x212]
  202. 0000026C  422D F64A                clr.b      [A5 - 0x9B6]
  203. 00000270  426D F646                clr.w      [A5 - 0x9BA]
  204. 00000274  426D F644                clr.w      [A5 - 0x9BC]
  205. 00000278  426D F642                clr.w      [A5 - 0x9BE]
  206. 0000027C  426D F648                clr.w      [A5 - 0x9B8]
  207. 00000280  426D FD30                clr.w      [A5 - 0x2D0]
  208. 00000284  42AD F55E                clr.l      [A5 - 0xAA2]
  209. 00000288  426D F740                clr.w      [A5 - 0x8C0]
  210. 0000028C  426D F742                clr.w      [A5 - 0x8BE]
  211. 00000290  42AD F5BE                clr.l      [A5 - 0xA42]
  212. 00000294  42AD F5C6                clr.l      [A5 - 0xA3A]
  213. 00000298  42AD F5BA                clr.l      [A5 - 0xA46]
  214. 0000029C  42AD F5B6                clr.l      [A5 - 0xA4A]
  215. 000002A0  42AD F5C2                clr.l      [A5 - 0xA3E]
  216. 000002A4  42AD F5CA                clr.l      [A5 - 0xA36]
  217. 000002A8  42AD F5D2                clr.l      [A5 - 0xA2E]
  218. 000002AC  42AD F748                clr.l      [A5 - 0x8B8]
  219. 000002B0  203C 0000 0400           move.l     D0, 0x400
  220. 000002B6  A31E                     syscall    NewPtrClear, flags=3
  221. 000002B8  6600 FEC0                bne        -0x13E /* 0000017A */
  222. 000002BC  2B48 F5A6                move.l     [A5 - 0xA5A], A0
  223. 000002C0  2B48 F5AA                move.l     [A5 - 0xA56], A0
  224. 000002C4  2B48 F5AE                move.l     [A5 - 0xA52], A0
  225. 000002C8  D0FC 0400                add.w      A0, 0x400
  226. 000002CC  2B48 F5B2                move.l     [A5 - 0xA4E], A0
  227. 000002D0  2B78 020C F5E8           move.l     [A5 - 0xA18], [0x0000020C /* Time */]
  228. 000002D6  426D F5F0                clr.w      [A5 - 0xA10]
  229. 000002DA  70FF                     moveq.l    D0, 0xFFFFFFFF
  230. 000002DC  2B40 F5EC                move.l     [A5 - 0xA14], D0
  231. 000002E0  3B40 F63C                move.w     [A5 - 0x9C4], D0
  232. 000002E4  3B40 F63E                move.w     [A5 - 0x9C2], D0
  233. 000002E8  2B40 F58E                move.l     [A5 - 0xA72], D0
  234. 000002EC  2B40 F592                move.l     [A5 - 0xA6E], D0
  235. 000002F0  3B7C 0080 F576           move.w     [A5 - 0xA8A], 0x80
  236. 000002F6  3B7C 0080 F578           move.w     [A5 - 0xA88], 0x80
  237. 000002FC  41ED FA7E                lea.l      A0, [A5 - 0x582]
  238. 00000300  2B48 F602                move.l     [A5 - 0x9FE], A0
  239. 00000304  42AD F586                clr.l      [A5 - 0xA7A]
  240. 00000308  426D F58A                clr.w      [A5 - 0xA76]
  241. 0000030C  3B7C 0010 FD2E           move.w     [A5 - 0x2D2], 0x10
  242. 00000312  2B7A 0006 F768           move.l     [A5 - 0x898], [PC + 0x6 /* 0000031A, value 0x4EAD0E8A */]
  243. 00000318  4E75                     rts
  244. 0000031A  4EAD 0E8A                jsr        [A5 + 0xE8A /* export_461 */]
  245. 0000031E  0746                     bchg       D6, D3
  246. 00000320  5554                     subq.w     [A4], 2
  247. 00000322  5552                     subq.w     [A2], 2
  248. 00000324  45AA 0747                .invalid   2, [A2 + 0x747] // invalid opcode 4 with b == 6
  249. 00000328  6172                     bsr        +0x74 /* 0000039C */
  250. 0000032A  6965                     bvs        +0x67 /* 00000391 */
  251. 0000032C  7079                     moveq.l    D0, 0x79
  252. 0000032E  0000 002A                ori.b      D0, 0x2A /* '*' */
  253. 00000332  0002 014E                ori.b      D2, 0x4E /* 'N' */
  254. 00000336  01F6 0030                bset       [A6 + D0.w + 0x30], D0
  255. 0000033A  0002 014E                ori.b      D2, 0x4E /* 'N' */
  256. 0000033E  01FC                     bset       0xFFFFFFFFFFFFFFFF, D0
  257. 00000340  002A 0002 014E           ori.b      [A2 + 0x14E], 0x2
  258. 00000346  01F6 0004                bset       [A6 + D0.w + 0x4], D0
  259. 0000034A  0009 0000                ori.b      A1, 0x0
  260. 0000034E  0000 00F0                ori.b      D0, 0xF0
  261. 00000352  0032 41ED E95A 200D      ori.b      [[A2] + 0x200D], 0xED
  262. export_18: // at 00000354 (misaligned)
  263. 0000035A  5180                     subq.l     D0, 8
  264. label0000035C:
  265. 0000035C  4298                     clr.l      [A0]+
  266. 0000035E  B088                     cmp.l      D0, A0
  267. 00000360  64FA                     bcc        -0x4 /* 0000035C */
  268. 00000362  47ED F71A                lea.l      A3, [A5 - 0x8E6]
  269. 00000366  6116                     bsr        +0x18 /* 0000037E */
  270. 00000368  41ED FEFC                lea.l      A0, [A5 - 0x104]
  271. 0000036C  701F                     moveq.l    D0, 0x1F
  272. label0000036E:
  273. 0000036E  42A0                     clr.l      -[A0]
  274. 00000370  51C8 FFFC                dbf        D0, -0x6 /* 0000036E */
  275. 00000374  A014                     syscall    GetVol/PBHGetVol/HGetVol
  276. 00000376  3B68 0016 F83A           move.w     [A5 - 0x7C6], [A0 + 0x16]
  277. 0000037C  4E75                     rts
  278. fn0000037E:
  279. 0000037E  203C 0000 4000           move.l     D0, 0x4000 /* '@\0' */
  280. 00000384  A040                     syscall    ResrvMem/ReserveMem
  281. 00000386  42A7                     clr.l      -[A7]
  282. 00000388  2F3C 4943 6F64           move.l     -[A7], 0x49436F64 /* 'ICod' */
  283. 0000038E  3F3C 0080                move.w     -[A7], 0x80
  284. 00000392  A9A0                     syscall    GetResource
  285. 00000394  261F                     move.l     D3, [A7]+
  286. 00000396  6714                     beq        +0x16 /* 000003AC */
  287. 00000398  2043                     movea.l    A0, D3
  288. 0000039A  A069                     syscall    HGetState
  289. fn0000039C:
  290. 0000039C  3800                     move.w     D4, D0
  291. 0000039E  A029                     syscall    HLock
  292. 000003A0  2050                     movea.l    A0, [A0]
  293. 000003A2  4E90                     jsr        [A0]
  294. 000003A4  2043                     movea.l    A0, D3
  295. 000003A6  3004                     move.w     D0, D4
  296. 000003A8  A06A                     syscall    HSetState
  297. 000003AA  4E75                     rts
  298. label000003AC:
  299. 000003AC  203C 0004 0000           move.l     D0, 0x40000
  300. 000003B2  A040                     syscall    ResrvMem/ReserveMem
  301. 000003B4  7607                     moveq.l    D3, 0x07
  302. label000003B6:
  303. 000003B6  A036                     syscall    MoreMasters
  304. 000003B8  51CB FFFC                dbf        D3, -0x6 /* 000003B6 */
  305. 000003BC  486D FFFC                pea.l      [A5 - 0x4]
  306. 000003C0  A86E                     syscall    InitGraf
  307. 000003C2  A8FE                     syscall    InitFonts
  308. 000003C4  A912                     syscall    InitWindows
  309. 000003C6  A930                     syscall    InitMenus
  310. 000003C8  A9CC                     syscall    TEInit
  311. 000003CA  42A7                     clr.l      -[A7]
  312. 000003CC  A97B                     syscall    InitDialogs
  313. 000003CE  A850                     syscall    InitCursor
  314. 000003D0  203C 0000 FFFF           move.l     D0, 0xFFFF
  315. 000003D6  A032                     syscall    FlushEvents
  316. 000003D8  4227                     clr.b      -[A7]
  317. 000003DA  4267                     clr.w      -[A7]
  318. 000003DC  2F0B                     move.l     -[A7], A3
  319. 000003DE  A970                     syscall    GetNextEvent
  320. 000003E0  4A1F                     tst.b      [A7]+
  321. 000003E2  4E75                     rts
  322.